/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

CKEDITOR.editorConfig = function( config )
{
	var dir = "http://localhost/vietfast";
	// Define changes to default configuration here. For example:
	config.language = 'en';
	// config.uiColor = '#00FF00';
	config.skin = 'kama';

	config.filebrowserBrowseUrl = dir+'/js/ckeditor/ckfinder/ckfinder.html';
	config.filebrowserImageBrowseUrl = dir+'/js/ckeditor/ckfinder/ckfinder.html?type=Images';
	config.filebrowserFlashBrowseUrl = dir+'/js/ckeditor/ckfinder/ckfinder.html?type=Flash';
	config.filebrowserUploadUrl = dir+'/js/ckeditor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files';
	config.filebrowserImageUploadUrl = dir+'/js/ckeditor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images';
	config.filebrowserFlashUploadUrl = dir+'/js/ckeditor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash';
	config.enterMode=CKEDITOR.ENTER_DIV;
	//config.ToolbarSets  = 'Basic';
	config.toolbar = 'Full';

	config.toolbar_Full =
	[
		/*['Source','-','Save','NewPage','Preview','-','Templates'],
		['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
		['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
		['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'],
		['BidiLtr', 'BidiRtl'],
		'/',*/
		['Source','Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
		['NumberedList','BulletedList','-','Outdent','Indent','Blockquote','CreateDiv'],
		['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
		['Link','Unlink','Anchor'],
		['Image','Flash','flvPlayer','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
		'/',
		['Styles','Format','Font','FontSize'],
		['TextColor','BGColor'],
		['Maximize', 'ShowBlocks','-','About']
	];

	config.toolbar_Basic =
	[
		['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink','-','About']
	];

	config.extraPlugins = 'flvPlayer';
	config.entities_additional = "";


};
